<script setup lang="ts">
defineProps<{
    title?: string;
}>();
</script>

<template>
    <el-card shadow="hover" class="mb-[20px]">
        <template #header>
            <div>
                <span class="title">{{ title }}</span>
            </div>
        </template>
        <div>
            <slot></slot>
        </div>
    </el-card>
</template>

<style lang="scss" scoped>
.title {
    font-size: 15px;
    font-weight: bold;
}
</style>
